<?php   // $Id: client_delete.php 227 2008-07-01 20:08:50Z pcoustillas $ ?>
<?php

/*Copyright (C) 2003-2004 Guy Hendrickx
Licensed under the terms of the GNU  General Public License:http://www.opensource.org/licenses/gpl-license.php
File Authors:Guy Hendrickx 
Modification : Pierre Coustillas
*/

require_once("include/verif.php");
require_once("include/config/common.php");

$num=isset($_GET['num'])?$_GET['num']:"";
$sql2 = "UPDATE ${tblpref}client SET actif='non',login='' WHERE num_client = '$num'";
mysql_query($sql2) OR die("Erreur Mysql<br/>$sql2<br/>" . mysql_error());
header("Location: client_lister.php");
?>
